package com.genius.smsweb.attendancemanage;

import com.genius.smsbase.Controller.GenericController;
import com.genius.smsdao.attendancemanage.domain.Attendance;
import com.genius.smsservice.attendancemanage.service.AttendanceManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "考勤管理-考勤", description = "AttendanceController")
@RestController
@RequestMapping("attendance")
public class AttendanceController extends GenericController<Attendance,Long, AttendanceManager> {


    AttendanceManager attendanceManager;

    @Autowired
    public void setAttendanceManager(AttendanceManager attendanceManager) {
        this.attendanceManager = attendanceManager;
        this.manager = this.attendanceManager;
    }
}
